package com.hl.yyx.dto;

import com.hl.yyx.common.constants.MatchMode;
import lombok.Data;

@Data
public class FilterCondition {
    private String field;
    private Object value;
    private MatchMode matchMode;
    private String relation; // AND/OR 用于条件连接
    
    // 构造函数
    public FilterCondition() {}
    
    public FilterCondition(String field, Object value, MatchMode matchMode) {
        this.field = field;
        this.value = value;
        this.matchMode = matchMode;
    }
}